package com.sylar.happygps.adapter;

import android.app.Activity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.sylar.happygps.R;

public class LifeGridAdapter extends BaseAdapter {
	private Activity context;

	public LifeGridAdapter(Activity context) {
		this.context = context;
	}

	@Override
	public int getCount() {
		return 5;
	}

	@Override
	public Object getItem(int arg0) {
		return null;
	}

	@Override
	public long getItemId(int arg0) {
		return 0;
	}

	@Override
	public View getView(int arg0, View arg1, ViewGroup arg2) {
		View favinavitem = context.getLayoutInflater().inflate(R.layout.lifeitem, null);

		return favinavitem;
	}

}
